package leiheduixiang.finalyu;

/**
 * 
 * @author Jin Jing
 * final域可以在构造器中初始化
 *
 */
public class Test {

	public final int field;
	
	public Test() {
		field = 0;
	}
	
	
	
	public static void main(String[] args) {
		Test test = new Test();
		System.out.println(test.toString());
	}

}
